package com.hq.bootdemo.service.impl;

import com.hq.bootdemo.entity.CustomerEntity;
import com.hq.bootdemo.mapper.CustomerMapper;
import com.hq.bootdemo.service.CustomerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CustomerServiceImpl implements CustomerService {
    @Resource
    CustomerMapper customerMapper;
    @Override
    public List<CustomerEntity> selectAll() {
        return customerMapper.selectAll();
    }
}
